A syntactic approach to inferring the life-time of data-regions

نویسندگان

  • Jean-Pierre Talpin
  • Yan-Mei Tang
چکیده

Structured operational semantics is widely recognized as a conceptually simple and practically expressive framework to formally design type systems in programming languages. Being easy to reason with, the type-theoretical setting of operational semantics is used increasingly to formulate program analysis techniques, called effect systems. Effect systems distinguish between the specification of a program analysis problem, defined as a logic, and its implementation, by using resolution and inference techniques. However, specifying precise program analysis, by considering expressive type systems, requires addressing difficult type-theoretical issues. Giving polymorphic types to recursive functions or using subtyping in the presence of type polymorphism are such issues. We present a new program analysis technique which is first to correctly integrate these type-theoretical features within a decidable setting. Our analysis statically determines the life-time of aliased data regions. It uses subtyping to statically approximate alias properties of data. It employs region polymorphism to denote the generic usage of data within value definitions and recursive function definitions. A key ingredient to correctly and intuitively integrating these typing features are a syntactic representation of dynamic locations and of their static abstractions using regions. We present an inference algorithm which precisely determines these abstractions by using fixed-point iteration. It reconstructs the principal solution of the analysis logic and takes the contextual use of (recursive) function definitions into account. We prove its termination soundness and completeness with respect to the analysis logic. As a result, our technique shares with previous effect systems a conceptual simplicity, yet providing more precise information.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Integrating fMRI data into 3D conventional radiotherapy treatmentplanning of brain tumors

Introduction: This study was aimed to investigate the beneficial effects of functional magnetic resonance imaging (fMRI) data in treatment planning for patients with CNS tumors in order to decrease the injury of functional regions of the brain followed by increase in life quality and survival of patients. This study pursues a novel approach in planning for the treatment of brai...

متن کامل

Bayesian approach to inference of population structure

Methods of inferring the population structure‎, ‎its applications in identifying disease models as well as foresighting the physical and mental situation of human beings have been finding ever-increasing importance‎. ‎In this article‎, ‎first‎, ‎motivation and significance of studying the problem of population structure is explained‎. ‎In the next section‎, ‎the applications of inference of p...

متن کامل

Syntactic Development of Right-Brain and Left-Brain Dominant Iranian EFL Learners: Processability Theory in Perspective

Processability Theory, a component of the cognitive approach to second language acquisition tries to enhance understanding of how the interlanguage knowledge systems can be restructured by second language learners (Pienemann, 1998, 2015). The present study intended to run a similar investigation into the syntactic development of Right-Brain and Left-Brain Dominant Iranian EFL learners based on ...

متن کامل

Region Directed Diffusion in Sensor Network Using Learning Automata:RDDLA

One of the main challenges in wireless sensor network is energy problem and life cycle of nodes in networks. Several methods can be used for increasing life cycle of nodes. One of these methods is load balancing in nodes while transmitting data from source to destination. Directed diffusion algorithm is one of declared methods in wireless sensor networks which is data-oriented algorithm. Direct...

متن کامل

Region Directed Diffusion in Sensor Network Using Learning Automata:RDDLA

One of the main challenges in wireless sensor network is energy problem and life cycle of nodes in networks. Several methods can be used for increasing life cycle of nodes. One of these methods is load balancing in nodes while transmitting data from source to destination. Directed diffusion algorithm is one of declared methods in wireless sensor networks which is data-oriented algorithm. Direct...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995